package com.nciae.service;

import com.nciae.po.DormitorySecurityQuestion;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Guoliyu
 * @since 2022-03-30
 */
public interface IDormitorySecurityQuestionService extends IService<DormitorySecurityQuestion> {

    void add(DormitorySecurityQuestion dormitorySecurityQuestion);

    List<DormitorySecurityQuestion> findByDormitoryId(Long id);

    List<DormitorySecurityQuestion> findBySecurityQuestionId(Long id);
}
